<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/common_java.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<%@include file="../common/common_meta.jsp" %>  
    <meta name="keywords" content="投票,投票网,大众,民意,调查,<c:forEach items='${voteLabelList}' var='curVoteLabel4Key'>${curVoteLabel4Key.tLabel.name},</c:forEach>">
	<link rel="stylesheet" type="text/css" href="${cssBase}/common/skillbar.css"/>
	<%@include file="../common/common_css.jsp"%>
    <title>${fn:escapeXml(vote.title)}-大众投票</title>
</head>
<body>
 <jsp:include page="../common/common_header.jsp">
	<jsp:param name="active" value="vote_index"/>
</jsp:include>
 	<section class="container">
        <h3 class="mt-10">${fn:escapeXml(vote.title)}</h3>
        <div class="line"></div>
        <div class="responsive">
            <div class="row cl">
                <div class="col-md-7 col-md-offset-1">
                    <div class="line"></div>
                  	 <%@include file="../vote/voteItem.jsp" %>  
                     <!-- left down1 -->
                    <div class="line"></div>
                    <div class="responsive">
                        <div class="row cl" role="grid">
                            <div class="col-xs-12">
                                <div class="panel shadow panel-default mt-20 radius ">
                                    <div class="panel-body ">
                                        <div class="f-18">
                                            <h4><b>分类</b></h4>
                                            <div class="line mt-10 mb-10"></div>
                                            <div class="pd-10 c-black">
                                               <c:forEach items="${classList}" var="eachclass">
	                                                 <a href="${ctx}/search/result?classId=${eachclass.id}" target="_blank">${eachclass.name}</a>
	                                             </c:forEach>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- left down2 -->
                    <div class="line"></div>
                    <div class="responsive">
                        <div class="row cl" role="grid">
                            <div class="col-xs-12">
                                <div class="panel shadow panel-default mt-20 radius ">
                                    <div class="panel-body ">
                                        <div class="f-18">
                                            <h4><b>热门标签</b></h4>
                                            <div class="line mt-10 mb-10"></div>
                                            <div class="pd-10 tags">   
	                                              <c:forEach items="${labelList}" var="eachlabel">
	                                                 <a href="${ctx}/search/result?labelId=${eachlabel.id}" target="_blank">${eachlabel.name}</a>
	                                              </c:forEach>   
                                             </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- right -->
                <div class="col-md-3">
                    <div class="panel shadow panel-default radius mt-20">
                        <div class="panel-header">最新
                      		  <a class="f-r" href="${ctx}/search/result?tabId=1" target="_blank" >更多>></a>
                        </div>
                        <div class="panel-body">
                            <ol class="top-list">
                           		 <c:forEach items="${latestVoteList}" var="latestVote" varStatus="status">
	                                <li 
	                                <c:if test="${status.index==0}"> class="top1" </c:if> 
	                                <c:if test="${status.index==1}"> class="top2" </c:if> 
	                                <c:if test="${status.index==2}"> class="top3" </c:if> 
	                                <c:if test="${status.index>2}"> class="top4" </c:if> 
	                                ><em>${status.index+1}</em><a data-id="${latestVote.id}" href="${ctx}/vote/show/${latestVote.id}" target="_blank" >${fn:escapeXml(latestVote.title)}</a><span class="date">${latestVote.voteNum}</span></li>
                                </c:forEach>
                            </ol>
                        </div>
                    </div>
                    <div class="panel shadow panel-default radius mt-20">
                        <div class="panel-header">最热
	                        <a class="f-r" href="${ctx}/search/result?tabId=2" target="_blank" >更多>></a>
                        </div>
                        <div class="panel-body">
                            <ol class="top-list">
                           		 <c:forEach items="${hotVoteList}" var="hotVote" varStatus="status">
	                                <li 
									<c:if test="${status.index==0}"> class="top1" </c:if> 
	                                <c:if test="${status.index==1}"> class="top2" </c:if> 
	                                <c:if test="${status.index==2}"> class="top3" </c:if> 
	                                <c:if test="${status.index>2}"> class="top4" </c:if> 
									><em>${status.index+1}</em><a data-id="${hotVote.id}" href="${ctx}/vote/show/${hotVote.id}" target="_blank" >${fn:escapeXml(hotVote.title)}</a><span class="date">${hotVote.voteNum}</span></li>
                                </c:forEach>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    

    
<%@include file="../common/common_footer.jsp" %> 
<%@include file="../common/common_js.jsp" %>
<script type="text/javascript" src="${jsBase}/home/index.js" ></script>
<script type="text/javascript" src="${jsBase}/common/skillbar.js" ></script>

</body>
</html>
